Sensor-augmented pump